package com.example.mahjong;

import com.example.mahjong.logic.story.InitAction;
import com.example.mahjong.ui.activity.MainPageActivity;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ImageView;
import android.support.v4.app.NavUtils;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        InitAction initAction = new InitAction(this,this);
        
        Intent intent = new Intent(MainActivity.this,MainPageActivity.class);
        //intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
        startActivity(intent);
        finish();
     
    }

 

    
}
